package spells;

import main.Creature;

public class StatChange extends StatusEffect{

	/**
	 * @param args
	 */
	
	int maxHealthChange;//target max health change
	int strChange;//target strength change
	int stamChange;//target stamina change
	int intChange;//target intelligence change
	int spChange;//target spirit change
	
	public StatChange()
	{
		super();
	}
	
	public StatChange(double newDuration)
	{
		super(newDuration);
	}
	
	public void removeBuff(Creature c)
	{
		c.maxHealth = c.maxHealth - maxHealthChange;
		c.strength = c.strength - strChange;
		c.stamina = c.stamina - stamChange;
		c.intelligence = c.intelligence - intChange;
		c.spirit = c.spirit - spChange;
	}

}
